package com.keyue.domain.vo.admin;

import lombok.*;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 用户表(AdminUser)实体类
 *
 * @author makejava
 * @since 2023-08-30 17:51:48
 */
@Data
@AllArgsConstructor
@ToString
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@SuperBuilder
public class AdminUserVO implements Serializable {
    private static final long serialVersionUID = 840682837180084937L;

    private Long id;

    /**
     * 部门id
     */
    private Long deptId;

    /**
     * 用户名称
     */
    private String userName;

    /**
     * 用户昵称
     */
    private String nickName;

    /**
     * 性别
     */
    private String gender;

    /**
     * 手机号码
     */
    private String phone;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 头像地址
     */
    private String avatarName;

    /**
     * 头像真实路径
     */
    private String avatarPath;

    /**
     * 密码
     */
    private String password;

    /**
     * 是否为admin账号
     */
    private Boolean isAdmin;

    /**
     * 修改密码的时间
     */
    private LocalDateTime pwdResetTime;


    /**
     * 角色id
     */
    private Long roleId;

    /**
     * 备注信息
     */
    private String remark;
}
